package shopping.service;

import shopping.dao.UserDao;
import shopping.domain.User;

public class UserService {
    public void save(User user) {
        new UserDao().save(user);
    }

    public User findUserByUAP(String username, String password) {
        return new UserDao().findUserByUAP(username,password);
    }
}
